package com.huixue.cn.ztej.enums;

public enum ApplyStatus {
	
	/*
	 * status = 0 //status 刚申请
	 * status = 1 //工段管理员审批
	 * status = 2 //项目经理审批
	 * status = 3 //部门经理审批
	 * status = 4 //工段管理员审批不通过
	 * status = 5 //项目经理审批不通过
	 * status = 6 //部门经理审批不通过
	 * 
	 * 
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (1,'1', '系统管理员');
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (2,'2', '工程人员');
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (3,'3', '物资部管理员');
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (4,'4', '工段管理者');
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (5,'5', '合同部管理员');
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (6,'6', '项目经理');
INSERT INTO t_role (role_id,roleCode, roleName)  VALUES (7,'7', '公司部门主管');
	 */
	
	APPLYSTATUS_0(0,"刚申请"),APPLYSTATUS_3(3,"物资部管理员"),APPLYSTATUS_4(4,"工段管理者"),APPLYSTATUS_5(5,"合同部管理员"),
	APPLYSTATUS_6(6,"项目经理"),APPLYSTATUS_N_3(-3,"物资部管理员不通过"),APPLYSTATUS_N_4(-4,"工段管理者不通过"),APPLYSTATUS_N_5(-5,"合同部管理员审批不通过"),
	APPLYSTATUS_N_6(6,"项目经理不通过");
	
	private int status;
	
	private String text;

	private ApplyStatus(int status, String text) {
		this.status = status;
		this.text = text;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
}
